package com.fzy.modules.goods.dao;

import com.fzy.modules.goods.entity.Goods;
import com.fzy.modules.goods.entity.GoodsMore;

import java.util.List;

/**
 * 商品持久层
 */
public interface GoodsDao {
    List<Goods> findGoods(Goods goods);
    List<Goods> isOne(Goods goods);
    Integer save(Goods goods);
    Integer update(Goods goods);
    Integer delete(String id);
    Integer isWithGoodsUnderCategory(String categoryId);
    Integer isWithGoodsUnderBrand(String brandId);
    List<GoodsMore> findGoodsMore(GoodsMore goodsMore);
	List<GoodsMore> listBySoBillIds(String goodsIds);
}
